Bookly\Lib\Base\Gateway B

Total Complexity 78
Dependencies 23
Dependents 3
Total lines 464
Lines of code 263
Logical lines of code 145
Comment lines 108
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
complete()
B
41 21 50
retrieve()
A
46 10 36
fail()
S
52 6 22
createIntent()
S
54 5 22
removeCascade()
S
60 4 13
refund()
S
56 3 18
getMetaData()
S
64 4 9
getResponseUrl()
S
55 2 20
createCheckout()
S
63 2 11
getCodes()
S
68 2 7
applyCode()
S
69 2 7
validatePaymentData()
S
76 2 3
createPayment()
S
66 2 9
getWebHookUrl()
S
64 1 10
getGatewayTax()
S
81 1 3
getGatewayAmount()
S
81 1 3
__construct()
S
75 1 4
refundPayment()
S
78 1 3
getInternalMetaData()
S
100 1 0
getCheckoutUrl()
S
100 1 0
retrieveStatus()
S
100 1 0
isOnSite()
S
82 1 3
setPayment()
S
77 1 4
getPayment()
S
82 1 3
getType()
S
82 1 3
createGatewayIntent()
S
100 1 0